# -*- coding=UTF-8 -*-
# @Project          WeChatPublicNumberPushInformation
# @fileName         read_yaml_control.py
# @author           Echo
# @EditTime         2024/9/10
from typing import *
import yaml


def get_yaml_data(path: Text) -> Dict:
    with open(path, 'r', encoding='utf-8') as f:
        return yaml.load(f, Loader=yaml.FullLoader)
